package com.ruoyi.oa.mapper;

import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.oa.domain.OaHumanDepart;
import com.ruoyi.oa.domain.bo.OaHumanDepartBo;
import com.ruoyi.oa.domain.vo.OaHumanDepartVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import java.util.List;

/**
 * 离职申请Mapper接口
 *
 * @author ruoyi
 * @date 2023-07-02
 */
public interface OaHumanDepartMapper extends BaseMapperPlus<OaHumanDepartMapper, OaHumanDepart, OaHumanDepartVo> {
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id"),
        @DataColumn(key = "userName", value = "user_id")
    })
    List<OaHumanDepartVo> queryByCondition(OaHumanDepartBo bo);
}
